package com.example;

import com.alibaba.fastjson.JSONObject;

import java.util.ArrayList;
import java.util.List;

/**
 * maven-dependency-plugin、maven-jar-plugin
 * <p> 只把代码打成jar、依赖放在外部的lib目录下
 * <p>
 *  by  zhang.Z  <p>
 *  2024-07-05
 */
public class ThinMain {
    public static void main(String[] args) {

        List<Integer> list =  new ArrayList<>();

        for (int i = 0; i < 10; i++) {
           list.add(i);
        }
        System.out.println(JSONObject.toJSONString(list));
    }
}
